package org.stream.answerduel.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

/**
 * @author  郭榕
 * @date    2019/7/12  14:22
 *功能描述:  题目详细信息，固有选项，正确选项，题目描述等......
 *
 */
@ApiModel("封装的题目列表:SubjectVo")
@Slf4j
@Data
@Accessors(chain = true)
public class SubjectVo {

    //题目id
    @ApiModelProperty
    private String subjectID;

    //题目细节
    @ApiModelProperty
    private String subjectDetails;

    //题目的每个选项
    @ApiModelProperty
    private List<String> subjectOptions;

    //正确选项
    @ApiModelProperty
    private int rightOption = 1;


}
